<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<nav th:fragment="head" class="ui inverted gird-header"  >

    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui olive header item" style="font-family: STSong">管理后台</h2>
            <a href="#" th:href="@{/admin/blog}" class="m-item item m-mobile-hide"><i class="home icon"></i>文章管理</a>
            <a href="#" th:href="@{/admin/redirectType}" class="m-item item m-mobile-hide"><i class="clone outline icon"></i>分类管理</a>
            <a href="#" th:href="@{/admin/friendLinks/redirectToFriendLinks}" class="m-item item m-mobile-hide"><i class="pencil alternate icon"></i>友链管理</a>
            <a href="#" th:href="@{/admin/findPicture}" class=" m-item item m-mobile-hide"><i class="image icon"></i>相册管理</a>
            <a href="#"  th:href="@{/admin/message/loadMessage}" class=" m-item item m-mobile-hide"><i class="image icon"></i>留言管理</a>
            <div class="right m-item m-mobile-hide menu">
                <div class="ui dropdown  item">
                    <div class="text">
                        <img class="ui avatar image" src="../../static/images/me.jpg" th:src="@{/images/me.jpg}">
                        <span th:text="${session.user.nickname}" >oneStar</span>
                    </div>
                    <i class="dropdown icon"></i>
                    <div class="menu">
                        <a href="#" th:href="@{/admin/logout}" class="item">注销</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>
</body>
</html>